package com.zhihuishu.micro.course.service;

import com.zhihuishu.micro.course.dto.CourseFolderDto;
import com.zhihuishu.micro.course.model.CourseFolder;

import java.util.List;

/**
 *
 * table-CC_FOLDER
 * dto-CourseFolder
 * @author Jiangli
 * @date 2016/12/16 13:15
 */
public interface CCFolderTreenityDBService extends TreenityBatchDBService<CourseFolderDto,CourseFolder>,CCFolderTreenityService{
    Long findFolderNameForCreate(Long parentId,String folderName);
    Long findFolderNameForUpdate(Long folderId,String folderName);
    List<String> findFolderNameLike(Long parentId, Integer excludeId,String pattern);
}
